package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 里程碑用户记录对象 tc_milepost_record
 * 
 * @author qiufeng
 * @date 2022-04-21
 */
public class MilepostRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private Integer deleted;

    /** 里程卡状态：0待生成，1已发送，2未发送 */
    @Excel(name = "里程卡状态：0待生成，1已发送，2未发送")
    private String cardStates;

    /** 卡图片路径 */
    @Excel(name = "卡图片路径")
    private String cardUrl;

    /** 宝宝ID */
    @Excel(name = "宝宝ID")
    private String childrenId;

    /** 宝宝检查月龄 */
    @Excel(name = "宝宝检查月龄")
    private String childrenTime;

    /** 班级ID */
    @Excel(name = "班级ID")
    private String classesId;

    /** 成长观察ID */
    @Excel(name = "成长观察ID")
    private String growthObservationId;

    /** 超前天数 */
    @Excel(name = "超前天数")
    private Long leadingDay;

    /** 状态：0未完成，1按时完成，2提前完成，3超时完成 */
    @Excel(name = "状态：0未完成，1按时完成，2提前完成，3超时完成")
    private String states;

    /** 附件列表JSON */
    @Excel(name = "附件列表JSON")
    private String url;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setCardStates(String cardStates) 
    {
        this.cardStates = cardStates;
    }

    public String getCardStates() 
    {
        return cardStates;
    }
    public void setCardUrl(String cardUrl) 
    {
        this.cardUrl = cardUrl;
    }

    public String getCardUrl() 
    {
        return cardUrl;
    }
    public void setChildrenId(String childrenId) 
    {
        this.childrenId = childrenId;
    }

    public String getChildrenId() 
    {
        return childrenId;
    }
    public void setChildrenTime(String childrenTime) 
    {
        this.childrenTime = childrenTime;
    }

    public String getChildrenTime() 
    {
        return childrenTime;
    }
    public void setClassesId(String classesId) 
    {
        this.classesId = classesId;
    }

    public String getClassesId() 
    {
        return classesId;
    }
    public void setGrowthObservationId(String growthObservationId) 
    {
        this.growthObservationId = growthObservationId;
    }

    public String getGrowthObservationId() 
    {
        return growthObservationId;
    }
    public void setLeadingDay(Long leadingDay) 
    {
        this.leadingDay = leadingDay;
    }

    public Long getLeadingDay() 
    {
        return leadingDay;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("cardStates", getCardStates())
            .append("cardUrl", getCardUrl())
            .append("childrenId", getChildrenId())
            .append("childrenTime", getChildrenTime())
            .append("classesId", getClassesId())
            .append("growthObservationId", getGrowthObservationId())
            .append("leadingDay", getLeadingDay())
            .append("states", getStates())
            .append("url", getUrl())
            .toString();
    }
}
